package com.lwlk.zdk.service.sys;

import com.lwlk.zdk.mapper.sys.sysRoleDetailsMapper;
import com.lwlk.zdk.model.sys.sysRoleDetails;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class sysRoleMessageServiceImpl implements sysRoleMessageService {
    @Autowired
    sysRoleDetailsMapper sysRoleDetailsMapper;

    @Override
    public List<sysRoleDetails> searchAll(String roleMessage) {
        List<sysRoleDetails>sysRoleDetails=sysRoleDetailsMapper.searchAll(roleMessage);
        return sysRoleDetails;
    }

    @Override
    public List<sysRoleDetails> search() {
        List<sysRoleDetails>sysRoleDetailsList=sysRoleDetailsMapper.search();
        return sysRoleDetailsList;
    }
}
